package com.senven.books.modules.system.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author : longshengyi
 * @description :
 * @createDate : 2024/7/21 22:22
 */
@Getter
@Setter
@TableName("SYS_USER_ROLE")
public class SysUserRole {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID", example = "0")
    private Long id;

    /** 角色ID */
    private Long roleId;

    /** 用户id */
    private Long userId;
}
